/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package br.com.ufpb.halloc.dados;

import br.com.ufpb.halloc.negocio.Centro;
import java.io.File;
import java.io.ObjectInputStream;
import java.io.ObjectOutputStream;
import java.util.List;

/**
 *
 * @author Filipe
 */
public class CentroDAOArquivoBin implements CentroDAO {
    
    private File arquivo;
    private ObjectInputStream in;
    private ObjectOutputStream out;
    
    private static CentroDAOArquivoBin daoArquivoBin; 
    
    
     public static CentroDAOArquivoBin getInstance(){
        if (daoArquivoBin == null)
            daoArquivoBin = new CentroDAOArquivoBin();
        return daoArquivoBin;
    }
    
    private CentroDAOArquivoBin(){
        arquivo = new File("C:\\Users\\Filipe\\Documents\\NetBeansProjects\\halloc\\Centro.bin");
    }

    @Override
    public void salvar(Centro cen) {
        throw new UnsupportedOperationException("Not supported yet.");
    }

    @Override
    public void remover(Centro cen) {
        throw new UnsupportedOperationException("Not supported yet.");
    }

    @Override
    public void removerPorCodigo(String codigo) {
        throw new UnsupportedOperationException("Not supported yet.");
    }

    @Override
    public void atualizar(Centro p) {
        throw new UnsupportedOperationException("Not supported yet.");
    }

    @Override
    public Centro getCentro(Centro p) {
        throw new UnsupportedOperationException("Not supported yet.");
    }

    @Override
    public Centro getCentroPorCodigo(String codigo) {
        throw new UnsupportedOperationException("Not supported yet.");
    }

    @Override
    public List<Centro> getCentros() {
        throw new UnsupportedOperationException("Not supported yet.");
    }

    @Override
    public int size() {
        throw new UnsupportedOperationException("Not supported yet.");
    }
}
